package busquedas;

import org.hibernate.Criteria;
import org.hibernate.criterion.Order;


public class FiltroOrdenarMenorDuracion extends Filtro {
	
	public FiltroOrdenarMenorDuracion(){
		
	}

	public Criteria getRestriction(Criteria c) {
		
		return c.addOrder(Order.asc("duracion"));
	}

}
